package com.zdzx.model.service.content.vo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zdzx.model.entity.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "交易记录", description = "交易记录")
@TableName("content_transaction_record")
public class TransactionRecord extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "交易金额", name = "money")
    private String money;
    
    @ApiModelProperty(value = "手续费", name = "fee")
    private String fee;
    
    @ApiModelProperty(value = "交易类型  DEPOSIT 充值  BUY 购买", name = "type")
    private String type;
    
    @ApiModelProperty(value = "交易状态 VALID 成功 WAITING 处理中 INVALID 失败", name = "status")
    private String status;
    
    @ApiModelProperty(value = "商户名", name = "merchantName")
    private String merchantName;
    
    @ApiModelProperty(value = "商户ID", name = "merchantId")
    private String merchantId;
    
    @ApiModelProperty(value = "购买类型 0课程 1会员", name = "buyType")
    private String buyType;
    
    @ApiModelProperty(value = "课程id", name = "courseId")
    private String courseId;
    
    @ApiModelProperty(value = "用户名", name = "username")
    private String username;
    
    @ApiModelProperty(value = "用户ID", name = "userId")
    private String userId;
    
    

 
}
